<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{:session('cp.cpsysname')}--商户管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="{:config('webconfig.description');}">
    <meta name="keywords" content="{:config('webconfig.keywords');}">
    <meta name="author" content="runoob">
    <link rel="stylesheet" href="__STATIC_URL__/static/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/index.css"/>
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/addmchat.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/bootstrap-datetimepicker.css"/>
    <script src="__STATIC_URL__/static/js/jquery-2.1.4.min.js"></script>
    <script src="__STATIC_URL__/static/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="__PUBLIC__/Admin/js/bootstrap-datetimepicker.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/Admin/js/liandong.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/Admin/js/commen.js" type="text/javascript" charset="utf-8"></script>
    <style>
        .filePicker{
            margin-top: -5px;
            width: 150px;
            height: 44px;
            background: #00A2D4;
            color: #fff;
            text-align: center;
            line-height: 44px;
            border-radius: 4px;
            cursor: pointer;
        }
        .file{
            position: absolute;
            left: 14px;
            top: -5px;
            width: 150px;
            height: 44px;
            line-height: 44px;
            opacity: 0;
            cursor: pointer;
        }
        .img-file{
            width: 100px;
            height: 100px;
            display: block;
            margin-left: 26px;
            margin-top: 10px;
            display: none;
        }
        .form-control{
            width: 50%;
        }
    </style>
</head>
<body onload="first()">
<include file='Index/header'/>
<!------------------导航-------------------------->
<section>
    <include file='Index/left'/>
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <div class="page-heading">
            <ul class="breadcrumb">
                <li>当前位置是:</li>
                <li>&nbsp;微信卡券
                </li>
                <li class="active" style="color: #02b87f;">查看被领取的会员卡</li>
            </ul>
        </div>
        <div class="panel mgr15 mgl15">
            <div class="panel-heading addCharts" style="background:#ededed;">
                详细信息
            </div>
            <div class="panel-body">
                <div class="tab-pane fade in active" id="Message">
                    <table class="table table-bordered">
                        <caption>卡券信息</caption>
                        <tbody>
                        <tr>
                            <td class="active">卡券名称</td>
                            <td>{$mch.title}</td>
                            <td class="active">所属商户</td>
                            <td>{$mch.brand_name}</td>
                        </tr>
                        </tbody>
                    </table>
                    <table class="table table-bordered">
                        <caption>会员信息</caption>
                        <tbody>
                        <tr>
                            <td class="active">昵称</td>
                            <td>{$info.nickname}</td>
                            <td class="active">领取时间</td>
                            <td>{$info.creattime|date="Y-m-d H:i:s",###}</td>
                            <td class="active">领取卡号</td>
                            <td>{$info.code}</td>
                        </tr>
                        </tbody>
                    </table>
                    <table class="table table-bordered">
                        <caption>激活信息</caption>
                        <tbody>
                        <tr>
                            <td class="active">姓名</td>
                            <td colspan="2">{$info.name}</td>
                            <td class="active">电话</td>
                            <td colspan="2">{$info.phone}</td>
                        </tr>

                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <include file='Index/footer'/>
    </div>
</section>
</body>

<!--一级和二级类目选择-->
<script type="text/javascript">
    var primary = document.form.primary;
    var secondary = document.form.secondary;
    function first(){
        //指定first的子元素option的长度
        primary.length=arr_first.length;
        for(var i=0;i<arr_first.length;i++){
            primary.options[i].text=arr_first[i].name;
            primary.options[i].value=arr_first[i].value;
        }
        index = primary.selectedIndex;
        secondary.length=arr_second[index].length;
        for(var i=0;i<arr_second[index].length;i++){
            secondary.options[i].text=arr_second[index][i].name;
            secondary.options[i].value=arr_second[index][i].value;
        }
    };
    function second_lb(){
        //修改一级类别列表中默认选择项		var index=0;
        //一级类别选中下标
        secondary.length=0;
        index = primary.selectedIndex;
        secondary.length=arr_second[index].length;
        for(var i=0;i<arr_second[index].length;i++){
            secondary.options[i].text=arr_second[index][i].name;
            secondary.options[i].value=arr_second[index][i].value;
        }
    }
</script>

</html>
